added backup, options parsing, help