Fix negative stat for Active Scripts

Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>