Adding task from main works now perfectly.