added elseif for sx
Merge branch 'master' of https://github.com/k-rol/DoIt