move dir path to attributes, in case of later(or platform) changes