utilizing query string instead of directory path