Add script properties and fix property assignment syntax