new opt parsing in bytecode util