Fixes order of commands in provisioning script