changed default directory
added new file-types for viewer