import os

# API URL
SAT_API = os.getenv('SAT_API', 'https://api.developmentseed.org/satellites')

# Data directory to store downloaded imagery
DATADIR = os.getenv('SATUTILS_DATADIR', os.path.expanduser('~/satutils-data'))

# do not create subdirectories of satellite_name/scene_id when saving imagery
SUBDIRS = '$satellite_name/$scene_id'

@@ -94,17 +94,17 @@
 es')%0A%0A# 
-D
+d
 ata dire
@@ -181,45 +181,12 @@
 R', 
-os.path.expanduser('~/satutils-data')
+'./'
 )%0A%0A#
@@ -275,11 +275,42 @@
 RS =
+ os.getenv('SATUTILS_SUBDIRS',
  '$
+%7B
 sate
@@ -323,16 +323,108 @@
 name
+%7D
 /$
+%7Bdate%7D')%0A%0A# filename pattern for saving files%0AFILENAME = os.getenv('SATUTILS_FILENAME', '$%7B
 scene_id
 '%0A
@@ -421,10 +421,12 @@
 scene_id
-'
+%7D')
 %0A

update config vars and add filename template string