refactoring bin/strider
refactor bin/strider script