Pass db connection as script parameters