updated slice capture file name and commented code