Removed dangerous functions, tweaked default paths