Merge tag '0.4.0' into develop

Released-0.4.0 0.4.0
catchsecurity exceptions when checking permissions or paths
bumped version
Merge branch 'release/0.4.1'