Fixed issue with spawn command

Wasn't in line with args shift I made a while back