Working master script with tasks.,