use source instead of sh in shell script