changed system call to os.system();
Seems to be discouraged, but works