improving CarbonServerExtension to work with command arguments