Working alpha. Added prep for backup, needs testing.