Add timestamp to file names; Edit permissions on input and output directories