add install script and templates