add info to env when contextmenu is loaded