removed duplicate sciprt