added option for base_url in .env