fixing directory names
accept plain scripts at job root level
fix test