Add more general function for loading forces