texed the script after bug fixing by danghor