pass the interface to the script