Working script and moved template files. #2