Changed derivation of In slot to use variables.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>