improved auxiliary scripts
renamed functions, removed redundant import directives
added man pages