dierendeterminatie code cleanup and permissions change for backup and restore scripts