It now takes arguments directly from the command line, instead of using 'read'