Updated script to scale design variables