refactor build.rake into run.rake