added --insecure flag