Added shebang lines and fixed some directory errors... hopefully