Accept path to a folder as an argument, fixes #2