copy config file too