Cleaned up and updated registry libfile