Removed explicit user directory from $image_dir