changed ['DOCUMENT_ROOT'] to  so resources can be loaded from locations other than the document root