Updated manage script