fixes

changed event listener to fire database installation