Using gpio commads
Updated interface