updated from package command to exec to perform check on existance of repo.