added command to clear app dir before copying generated new files