Added some flexibility to the location of resty and json.sh.