add redirect option
modify test
Merge pull request #75 from SKAhack/add-redirect-option

add redirect option ( Issue #74 )