fix a couple of functions that should be __init init: fix bug where environment vars can't be passed via boot args #