adding rebuild command