Updated script for Labtech 2013