Remove autopublish and insecure