new file extensions and bug fix