updated to newest repository script.