Add pre script (make dist dir) & rearrange package