fixed auto-subscribe script