Updates to backup script related to system calls and git add