Changed script to now be called standalone.

The script can now be called through ./install.py instead of having to
pass it as a parameter to the python command.