changed images directory
code enhanced