Admin & Machine pages scripts repaired