Added some extra pulse()s to allow everything to connect.