Fix to local db
Added environment info to top of layout