IMP:(#268) Added CHMOD Config options, fixed missing directory errors (Pull Request from claym)