Script handles inactive plans