Added more functionality to curry script