rewrite source install using ark