Made the amount of rows in an insert statement a variable, also made progress bar not print a new line every update, but be single line instead