added function for changing repos till non-free