Put swipe spec inside config