SOLVED (i think!). Just changed the permissions for SELF on my test user account to allow writing of public information, this now allows the changes to take effect. Not sure what knock-on effects that might also have so, at the moment, have only made the security change on this single user. Glad my script is back working though \:\)