Deploymentscript ends with dev state