add whenever; fix stdout sync for foreman