added injectable application selector to query string on new links