adding option to override material_link option