Don't we want to check if this resource is a script resource?