Fixing cookbook reference and extra line breaks

CloudFormation would not read the template prior to this change due to an invalid reference and some extra line breaks.