Added shell exec method