First command line implementation