Fixed layer-1 tasks

Fixed layer-1 tasks to only run on master host