make gfx.py png take only a path