Added RTG macro workflow for spark