Remove "import util"
Fix library_modify permission check