Fixed Loader class, changed paramap to -1 from 1

Spent ages trying to figure out a way to get dynamic variables, but no
luck. The class is so ugly it will give you eye cancer