AJCORE-286 - Change instances of printf to cout