Thanks for the help. That works great. But there is another weird issue. I have one main script that does some global thing. Then some case/select statements at the bottom that call another script based on group membership. We will get rid of this some day but for now it allows different business units to control their own login scirpt but still give us some global options. When I run this code inside the root script it doenst run. It seems like the call statement "break" it if that makes any sense. Any ideas?