add .sh for model.R