Ensuring img directory
Corrects for difference in stellar number