Added redirect variable