Update hackapi.php

Made it a bit better I guess