Adapting sources in order to work with firefox