Allow to specify weights on track_scripts