remove use of ~ and allow * path override