Adding gif doesn't works for the moment... but worked with the old script... change the way files types are detected.