move install helper functions
use helper functions in script/
fix helper path
fix logging typos