improved setup script
modified for easier editing
grrr...hacky...fix soon
cleaned up imports