refactor common setup code
Be explicit about the command that gets run