basename rewritten, no need for libgen, usage hint text modified