Added check-task and updated product build script