detect the version instead of hardcoding it