Corrected getVersion script, more Build script updates