Correctly load runtime from environment