Moved separate scripts into directory blocks.