Only works for Python 2.6+
Since the script uses the keyword 'as' compiling with anything lower than python 2.6 with throw an error.