add ability to specify custom querystring
expand directions
fix typo