Import gpio module and make script functional