Fixed copying of config files
Added documentation