get environment variable for db
Parse environment in a better way
Added 'LALI_RC' env variable