You can still condense this script. Search for \"slots\" in the snippets section to get an idea on how the others did it.