use puts+interpolation instead of print
fixed arguments to some `ti` commands
use guids as internal ids