Supports build on push from github and some changes to support production server running builds