Add a little more explanation to .env
Do conversion to integer in a more sensible place