#! /bin/sh
#This file should be executable. -Steve
# Args: DIR command
cd $1
CMD=$2
shift
shift

if test -f $CMD.sh; then
  CMD="sh $CMD.sh"
fi

echo $CMD $@ | sh
