Moved execution into widget