Moved marker settings to start of script.