eliminated external ruby gem dependencies for standalone version