adding auto build script and changes to support it