add install script and test example