Add close button and some fixes on deploy.sh