updated help and fixed any obvious minor coding errors