Writing code to manage unicorn during deploy.