More changes to sm.pl