--- /dev/null
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.generate_image $@
+
+
-from .render_tiles import deg2num, queue_render, queue_tiles, process_queue
-from .parsegpx import check_db_for_training, write_parsed_to_db, write_tree_to_db, print_parsed_file
-from .pygeocode import GetDescr, GeoName
-from .pygpx import deg2rad, StripPrefix, formattime, Link, GPXTrackPt, GPXRoute, GPXTrackSeg, GPXTrack, GPX
-from .pyrungps_sync import get_page, get_gpx_track, get_osm_list, get_osm_gpx, get_db_gpx, get_dbx_list, sync_db, sync_osm, sync_folder
-from .generate_image import render_map, render_all
-
-__all__ = [
- "deg2num", "queue_render", "queue_tiles", "process_queue",
- "check_db_for_training", "write_parsed_to_db", "write_tree_to_db", "print_parsed_file",
- "GetDescr", "GeoName",
- "deg2rad", "StripPrefix", "formattime", "Link", "GPXTrackPt", "GPXRoute", "GPXTrackSeg", "GPXTrack", "GPX",
- "get_page", "get_gpx_track", "get_osm_list", "get_osm_gpx", "get_db_gpx", "get_dbx_list", "sync_db", "sync_osm", "sync_folder",
- "render_map", "render_all"
- ]
-
\ No newline at end of file
--- /dev/null
+from .render_tiles import deg2num, queue_render, queue_tiles, process_queue
+from .parsegpx import check_db_for_training, write_parsed_to_db, write_tree_to_db, print_parsed_file
+from .pygeocode import GetDescr, GeoName
+from .pygpx import deg2rad, StripPrefix, formattime, Link, GPXTrackPt, GPXRoute, GPXTrackSeg, GPXTrack, GPX
+from .pyrungps_sync import get_page, get_gpx_track, get_osm_list, get_osm_gpx, get_db_gpx, get_dbx_list, sync_db, sync_osm, sync_folder
+from .generate_image import render_map, render_all
+
+__all__ = [
+ "deg2num", "queue_render", "queue_tiles", "process_queue",
+ "check_db_for_training", "write_parsed_to_db", "write_tree_to_db", "print_parsed_file",
+ "GetDescr", "GeoName",
+ "deg2rad", "StripPrefix", "formattime", "Link", "GPXTrackPt", "GPXRoute", "GPXTrackSeg", "GPXTrack", "GPX",
+ "get_page", "get_gpx_track", "get_osm_list", "get_osm_gpx", "get_db_gpx", "get_dbx_list", "sync_db", "sync_osm", "sync_folder",
+ "render_map", "render_all"
+ ]
+
\ No newline at end of file
-#!/usr/bin/python pyrungps.py
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.pyrungps_sync $@
+
+
--- /dev/null
+#/usr/bin/sh
+/usr/bin/python -m pyrungps.render_tiles $@
+