Prepare workspace