Initial version of repo management script