remove subprocess.call to make os independant