added attachment content type check on new application for #270