With error message on fail load
Updated the loadres script