switched to os.system for a quick fix