Initial script for getting FI curve