Put echo in the right place