change repository name
check command existence and error handling