Initial; changes to setup user options (also added gzip support)