Updaed the djfile bash function