fixed use of scaffolding and return type of ex.run()