fix urls were not correct in CLI mode