add makefile for bash, add trick for running a script with sudo