Try to use both 'sudo -E' AND 'su -m' together to preserve environment through both sudo and su