add auto redirect to github