Add debug() function
Change script sourcing to abs path
Move builder script to its own file
Add run_cmd for dry runs