started to make external script to run model. trying it in bash first