I read about -l and I know that if you're using an actual number it should look like "-l4" but I'm using a variable, and it writes to the correct line when I use the space. Thanks for the help though.