added buggy create_repo.sh code