added make img function
Merge branch 'make_main'