Changed comment model and Attachment model foreign key reference.  Added application name variable to deploy.