refactored, rewrote db backup script to include multiple options