Add legacy command
Always check the folder path of the file before switching
Change toggle for switch
Update readme and messages
Remove async call and use tail instead of head when splitting