Amended setting value of rs from querystring.