updated code for favicon working