Added some opcodes to the script. These can not ever be fully implemented in lua, they need core handling.