Deployment routine