Add sles10 support

auto-propagate option is not recognize in SLES10 so I added a parameter to enable/disable it.
case statements need a `default` case