updated model load to have proper library paths and remove unecessary recasts