Create resync_attachments.php