changed file dir permission to 0644