and now... it even works!
added @cmd decorator and trap exceptions on os.system