Simplified variables in scratchpad script.