adds the new-post task tot he script.