Not all scripts work in older versions of PhotoGrok. Some scripts may require Java 8 to run acceptably fast. Some scripts require a corresponding filter - see comments in code.
Paste scripts into JavaScript window (CTRL+SHIFT+J). Scripts are persisted and can be saved as part of a custom setting.