changed paths to redirect