major update to get details like resist and paste layers right