Added removing command variable upon execution