added own core functions for putenv / getenv