sc: Move lines of code around.
sc: Move lines of code around.

cburstedde/libsc,cburstedde/libsc,johannrudi/libsc,johannrudi/libsc,cburstedde/libsc,johannrudi/libsc,cburstedde/libsc,cburstedde/libsc,johannrudi/libsc,johannrudi/libsc