Changed os.system calls in oscmds.py and photom