Problems parallelizing declaring used packages

@Pbellive can you please tell me in which order would you recommend running the above code?