> Now when running this script I get a NameError on "open". > What is wrong ? You are not allowed to use things like open from a python script. As Chris said, use a external method. (To edit an external method, you have to have access to the filesystem, which means higher security.) /Magnus