lib format, shebangfix, patches