one script solution