Updating rebuild scripts to rebuild permissions after install