remove console logging
make sure script being sought begins with /, make sure prefix ends with /