add auto start manage function