added forgotten struct_format, added "magic" shell