added cname to app dir for output