Finally made it work on the real machine.