Added more file extensions to ricky's script