ADded a constructor so that the script extension is set to .py.