Fix for TIMOB-12736
Add build mode parameter
Allows the project to be built in production, development, etc mode
By default the script will use production mode