simon's bash script