Added script_root prefix to generated URLs
added support for path based params
bumped version