Updated supervisor script