Simplified resource loading for scripts.