Fixing status scripts