rearranging bash files