myaddinstance capability added. deprecated context code fixed