shell script extracted to separate file