small bit of hookup code added

Added small bit of hookup code