cleaning up runtime scripts
Merge pull request #4059 from PerilousApricot/bugfix/straighten-up-runtime

cleaning up runtime scripts