fixes up script to create inbox directory