updated script for marketo realtime data capture - working prototype