hash and hashbang improved support and overall improvements in code