Implemented proper use of "import"

I was initially using execfile.