Build & deployment improvements

Working on enabling "gear deploy mybranch"