updated backup and restore media scripts