Update to use lib file for code