Removes unnecessary stuff from manage script.