Changed script to use bash file extension instead of txt