nova user needs a shell for sudo
add error trapping and release branch moved to functions