Move `export` to the start of the script