added text editor script