Fix file mode, add urls