Modify sample files, and add script files