ticket:9 add folder write permission to script