Creating A Python Script Mode