adding a new bash script and a python script that worked according to the requirement