Improved works with cli arguments, new dependency added