add source-named, refactor shell script, better output for list-registered