Moved some sw functions to 4of4. Might not work haven't tested.
Updated sw 27.