Added support for alternate data directories for Ubuntu