made the scripts error to stderr instead