Add echoerr function and some step in setup