change debug and fix off by 1 error
add list-scrypt rigs