Fixed the readme file and made the command-line script work