Make sure to exit when a folder is passed as an argument