break the single script into parts