replace set with sh.export