generalizing the Manager script
generalizing the Manager script