Change swapfile size only if <1GB ram.
Fixed script spacing and log directory