Update checkstorage.lua

Removed reference to removed library and put it all here