Needed fix since loadstocks was renamed load