lw script fixed