do not call sed and grep in global scope