Added version.txt option to build script for automation