updated script for new repo install