many fixes, separated channel permissions function to another command since clones and merges block and cause time-outs if included in the same run.