Add opensm