Added NiceSlice handling to the input line