copy changes from https://github.com/hjiawei/pilfs-scripts.git