Added armed mode (Untested)

Also commented the code