Add bare and output options

Added bare and output options.