Remove stupid function.
Remove image directory creation.