Alright, thank you so much. Everything works great now. Althought I needed to use the %variable instead of $1.