Def as a separate script