bug fixing
using slice-file instead of the swap.js
updates