Modified sage-edit:exec-command-base.
Modified sage-edit:read-script-file.