simple script runner based on the contents of a directory