F***ING FOR LOOPS!!!

Also can anyone help me find out how to have the box with parameters
specified in the background layer?