Add codes file, fix on/off timer flags