reverted prepare scripts