added preprocessing options for permanent variables. Sovels issue #2, #11, #12