clean up in bash script