Partial cleanup of spinwork.sh