Fix sh scripts