Fixed a few bugs, added command to change max hits