added query string parameters to reference. fixes #12