check if scripts exist before registering