removed commented code
added more logging; using absolute resource paths
renamed scheduleExport to register