Added directory decrypt and bugfixing v0.3