A little bit coordination between Python script and shell scripts.