Updated replace script to generate a backup file