moved stuff around a bit for rev shell