updated help functions, fixed JSON bugs