Clean up directory preparation code in main function. Ensure pack information passed along with docker and AWS wrapped bcbio runs