Fix up ruby and web mode to include ac mode