added mkdir -p for target Directories and configuration settings