Adds db password management in smart_manager script
Comment out unnecessary function