touched up code script