updated wrapper to gather all programs in that specific fold