Apply command