finished settings the bash script