add console output option