Put globals into a separated custom task