update script to be reusable after initial install