updated settings to take on static and media and template file implemented