Neater process for shell files