add script to finish subscription