changed permissions for lib