Tweaking onramper to handle scripts
Resolves #1