added better logging and user info in build_and_test.sh