Now working as a commandline tool - see readme