Setting polymer environment