added logic to run directly from project w/o pip install