Added weights printing to outputter