update backup to use environment variable