Add history options
same for script
add files
cd to dir
add the split
title it
duplicate code for script