further automated the build