For loop added for scale, preparing for input of scale, lines dont yet change. Still a bit unstable