added remote checks, moved yum tasks