It's actually pretty simple. For the former case, you do nothing. Tell the university to find someone to make the improvement, or do it for fun. In the latter case, you should be charging 5-10x that, for starters... You send a Statement of Work, and only do what's in that, and only after they pay.