Convert to csmake.sh, adjust code to enable live_testing