added start and defer options, and always use bash to execute commands

Change-Id: I550851345d65c063e9680f281f327bf57be25dd0