fixed makeActive functions
implemented popular repos template