Shell script to use RAM as storage directory