Fixed regsubst() typo
Fixed bug with server always installing