Fixed problem where opts now passed into request