Fixed environment vars and saving observation function
Merge branch 'development' of https://github.com/fluxtream/fluxtream-capture into development