Remove check on custom scripts being executed multiple times - was behaving sporadically. For now, custom scripts will need to be idempotent