add flags to manager