made internalbrowser file independent