Shell script creation python script