added local version support