Make it usable from command line