wrapaur 1.5-1

update for program rewrite with functions and getopts