add status sync script
using bundler. refactoring a little