Add the "sqlFile" resource, and correct the gamma correction