move bash command to the top of its section