FIX: new image, duplicate and new_dir (strcmp was buggin, so strncmp in yo face)