update with good headers
keep bin in the loop but not the build folders
remove useless stuff
add wait behavior