am_check_permissions() env. variable mapping fix.
Merge pull request #13 from jaroslawp/checkpermfix

am_check_permissions() env. variable mapping fix.