Rewrite deploy.sh script. Now it becomes smaller, it tested and it works!