Added ability to add custom dir in window