change scripts to allow proper box type 20/30/31/35