Added optimist as a dependency