clean up bash script