build copy config setup properly (i think)