don't scripts twice when you only need to once