Refactor push.sh