Adds var dir which we need