Changes to sm.pl