Move out config from script
Long live the cookies