add redirect option ( Issue #74 )

Pull request for Issue #74