Fixed head issues with all env files