add script for ports rebuild