renamed image dir to resources in unlikely case it matters