FIX: script and constants