adding the correct extention