thanks for the quick replies, I should have pointed out that other people will probably be working on these scripts also, so encrypting the entire source code is probably not going to be an option for me. Its just the actual password that needs to be hidden.