Script to chnage extension