Turn hardcoded stuff to parameters