Added variable to redirect