added 2d_diffusion, link flags