EventFunction added + new DBScript