minimum image thing and translate option to the chemlab script