Fixed programs not correctly launching with arguments