no need for runMain just use build

reverts first hunk of previous commit (0ea587d)