Quick script fix to stop throwing errors