#!/bin/tcsh
set scriptdir=$0:h
set plugin=$0:h/$1
set plugindir=$plugin:h
if ($scriptdir == $plugindir) then
  $plugin $2 $3 $4 $5 $6 $7 $8 $9
else
  echo "not allowed to execute $plugin"
endif
