Changed command status option to get hostname instead of ip