add select files script
debugging select_files