little fix
added dynamic resource loading