#!/bin/bash



SCRIPT="$1"

if [[ "$SCRIPT" == *"."* ]]; then
	FULL="$SCRIPT"
else
	FULL="$SCRIPT".sh
fi

if [ ! -f "$FULL" ]; then
	echo "The shell command you entered does not exist."
	exit 1
fi

. $FULL "${@:2}"
