Changed the fetch to use appenging and added some variables for redirection.