Added proper file permissions
Added more verbose logging
Added config parsing properly using itterator
Corrected archive naming
Added debug mode and more error catching