added version to flex