adding nobuild and nohat flags

This change to the install script allows you to bypass the rebuild and testing, which can speed up development when a simple reinstall is needed.