move enabled to globals