updated
removed error control
added error control
.
sets error_reporting, display_error