Removed optimist dependency