updated config copy
updated example code