Added basic run logic.