Hi, if the application is retired, then the script sets to active to deal with it, it doesn't retire it at the end.