Changed discard css and added discard command