finished bash script for starting