Added resource loader
Message on error