Remove temp directory and case insensitive options