Added parameters to functions for GUI/DB connection