Closer..

Get the variables out of the quotes - $Element, not '$Element', and you need to make up your mind - READWRITEprofilestring is much too indecisive - do you want to READ or WRITE a profile string? ;\)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D