cleaned up dir_install