Basic implementation of run.