refac console