Modified currentcontrol to print values when given M907