Update __main__ and set_dir_dev

removed create_dirs in set_dir_dev