added exec and command parser