script to clear working directory