added debug option to print bytecode