Add codes to sql-script removing require_once.