Changed deploying method.