add pseudocode for script