added environment variables to db info
new attributes script for db