Remove JS script tag; add restart.txt file