Use LWP instead of wget system command