Added command execution logging
Added timeout to rotation command