Extract sources to the proper directory