Added a manage_repo param and adjusted the perms
on the generated config file