LLigetfa,
Thanks for the reply!
I am still stuck one the:
$buday = "@MDAYNO" - "1"

I am trying to get it to subtract one day before renaming the file. Does this look right to you. I am getting the error:
Script error : error in expression.!
Thanks again for the help. The more I learn about Kix I realize the more I need to know.