using stdin to source bash script