First attempt of writing import script