add rebuild support
add sudo support
update prepare
add line prefix in container output