added bash script that works