script to automatically build and install all versions