Reworked subshells, added complete command.