made plugin AutoPlugin