Using custom make dir funciton