updated to work with ACF-5 and ACF-4. Removed ACF-3 support.