Script update

Error manager now print in System.err.
Will fix it later