separate script directory into client and tools