Local versions

Added support for local version (partialy)