adds app-specific code to external.rb to pass validation