Using automation and outsourcing to improve RCM