added hack with injecting functions through `-m` argument