clean up hashbang and semicolons