fixing local connect.pl