add option for custom directory
force user to choose sections of memory
fixed custom dir option