Ren'Py loads files in alphabetical order. If the framework's files are loaded after a file which uses objects from the framework, this almost certainly will cause errors without an init offset being used for the object instances (e.g.: init 1 python:).