setup root path for dotenv before Load
fix EOF issue by replacing readline with scanner