I should note that if you use the execfile command in the console, the script runs, but if you import the script, it says it cant find the module