Actually made getResourceExtention cleverer