FIXED BUILD SCRIPT FOR DEVELOP BRANCH AS WELL