add code to cloning merges folder, if appropriate config parameter is specified. update docs