adding redirect to path