fix error in copy command and application.conf