Code cleanup
Lookup the proper shell to use
Allow chroot to start a command directly