updated shell script for seed arg