Add profiling support; scripts packaging.