added build code for deployment.