Revert "Remove env file"

This reverts commit 5b058b321352165713a2e6275e2ef09c796d2897.
Optimization calc algirithm