fix backup and create scripts