Added the functionality for the split commands