Simplify deploy script

inject params
implement way of checking out staging branch during deployment