checkpoint fixes in run function
Merge pull request #13 from wrightmikea/dsl

checkpoint fixes in run function