Update variables
Add modular scale function