updated for glance db sync work around and passwords in variables