Running with dynamic resource initialization.