add activate and deactivate commands on Unix