Generic, platform independent batch processing