• I found that this script doesn't write down schema permissions.

    You might check the following: http://www.sqlservercentral.com/scripts/Security/71562/