adding rake task and shell wrapper