change serf and script directory