fix git clone script to do the right things