use an exec to ensure the directory is created