update to use css and img dir