move some commands to each subdirectory