Improved require functionality in node and error output for cli when options aren't present