Add auto redirect flag into get.groovy