PHOENIX-50: Convert shell scripts under bin to python script so same scripts can run in unix & windows