RevJohn, maybe your script works, but the missing bracket and disorderly if-then-else statement need to be reorganized. Don't be a sloppy scripter.