Bugfixes on missing conditions. Added status, restart, attach