#!/bin/bash cd "$(dirname $0)" if [[ -f "$1" ]]; then ./$1 $@ else ./help exit 1 fi