Added broker flag as input