added hashbang parsing support