changed buildscript to replace version in the code