Updated to fix broken script syntax.