Cleanup bash script