put building back in after_build
use pry-plus
run generate in before_build