capify and customize capfile and deploy file