refactor: abort/continue/undo scripts

@kevgo Set script name and error messages based on the command running instead of having to hardcode it with strings.
This is awesome!