rebuilds scripts