add shebang to python import script, change address to localhost