Now works with both system arguments and with a prompt if no arguments are given