Replace unneeded whiles with for
while's that don't need to be while's should be for.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
while's that don't need to be while's should be for.