Adopt pictures location framework and import for codes