Updated genCoco.php

Probably doesn't work.I can't actually test it since I'm on a school computer.