changed index
added img dir
some more work