Added apply command