Fix horrible bug where the buffer wasnt clearing
sh file should have type sh!