Add PHP script for Ajax version switcher