Fixing bug for handling query string and app launch folder.