Added shell=True argument to system call