added echos to compile process for debugging.