Added system version checking